home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / clar2v.z / clar2v
Encoding:
Text File  |  2002-10-03  |  3.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAARRRR2222VVVV((((3333SSSS))))                                                          CCCCLLLLAAAARRRR2222VVVV((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLAR2V - applie a vector of complex plane rotations with real cosines
  10.      from both sides to a sequence of 2-by-2 complex Hermitian matrices,
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CLAR2V( N, X, Y, Z, INCX, C, S, INCC )
  14.  
  15.          INTEGER        INCC, INCX, N
  16.  
  17.          REAL           C( * )
  18.  
  19.          COMPLEX        S( * ), X( * ), Y( * ), Z( * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      CLAR2V applies a vector of complex plane rotations with real cosines from
  36.      both sides to a sequence of 2-by-2 complex Hermitian matrices, defined by
  37.      the elements of the vectors x, y and z. For i = 1,2,...,n
  38.  
  39.         (       x(i)  z(i) ) :=
  40.         ( conjg(z(i)) y(i) )
  41.  
  42.           (  c(i) conjg(s(i)) ) (       x(i)  z(i) ) ( c(i) -conjg(s(i)) )
  43.           ( -s(i)       c(i)  ) ( conjg(z(i)) y(i) ) ( s(i)        c(i)  )
  44.  
  45.  
  46. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  47.      N       (input) INTEGER
  48.              The number of plane rotations to be applied.
  49.  
  50.      X       (input/output) COMPLEX array, dimension (1+(N-1)*INCX)
  51.              The vector x; the elements of x are assumed to be real.
  52.  
  53.      Y       (input/output) COMPLEX array, dimension (1+(N-1)*INCX)
  54.              The vector y; the elements of y are assumed to be real.
  55.  
  56.      Z       (input/output) COMPLEX array, dimension (1+(N-1)*INCX)
  57.              The vector z.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCLLLLAAAARRRR2222VVVV((((3333SSSS))))                                                          CCCCLLLLAAAARRRR2222VVVV((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      INCX    (input) INTEGER
  75.              The increment between elements of X, Y and Z. INCX > 0.
  76.  
  77.      C       (input) REAL array, dimension (1+(N-1)*INCC)
  78.              The cosines of the plane rotations.
  79.  
  80.      S       (input) COMPLEX array, dimension (1+(N-1)*INCC)
  81.              The sines of the plane rotations.
  82.  
  83.      INCC    (input) INTEGER
  84.              The increment between elements of C and S. INCC > 0.
  85.  
  86. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  87.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  88.  
  89.      This man page is available only online.
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.